<template>
  <div>
    <!--    <img src="./assets/logo.png">-->
    <h1>this is an about page{{this.$store.state.count}}</h1>
    <Velocity></Velocity>
  </div>
</template>

<script>
import Velocity from '../view/animate/velocity'
export default {
  name: 'about',
  components: {
    Velocity
  },
  mounted () {
    this.getCookie('name')
  },
  methods: {
    getCookie(name){
      var start = document.cookie.indexOf(name+'=')
      var end = document.cookie.indexOf(';',start)
      if(end=-1){
        end = document.cookie.length
      }
      var reslut = unescape(document.cookie.substring(start,end))
      console.log(reslut);
    }
  }
}
</script>

<style>
  #app {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /*text-align: center;*/
    color: #2c3e50;
    margin-top: 60px;
  }
</style>
